<?php
/**
 * Created by PhpStorm
 * User: whh
 * Date: 2022/7/28
 * Time: 16:02
 */

namespace app\common\model;


use think\Model;

class DefaultBookshelf extends Model
{
    use Common;

    protected $table = 'quick_default_bookshelf';

    public function novel()
    {
        return $this->hasOne(Novel::class, 'id', 'novel_id')->field("id,cover,origin_title,author,freq_id,class_id,update_status,chapter_up_time");
    }

}